package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Select;

/**
 * @author zhouhao
 * @create 2021-12-25 15:54
 */
public interface UserDao {

    //根据用户名查找用户
    @Select("select * from t_user where username = #{username}")
    User findUserByUsername(String username);
}
